#include <stdio.h>

typedef struct{
    int count;
    float xiaoshu;
    void (*func_)(void);
}My_struct,*My_PTR;

void xxx(void)
{
    printf("xxxx\r\n");
}

int main(void)
{
    My_struct AAA;
    My_PTR p = &AAA;

    AAA.count=5;
    AAA.xiaoshu = 3.15;
    AAA.func_ = xxx;

    printf("AAA.count = %d\r\n",AAA.count);
    printf("AAA.xiaoshu = %f\r\n",AAA.xiaoshu);
    AAA.func_();

    p->count = 6;

    printf("*p->count = %d\r\n",p->count);
    return 0;
}